﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductionManagement.Domain.ProductionDomain
{
    /// <summary>
    /// 生产计划表
    /// </summary>
    [SugarTable("ProductionPlan")]
    public class ProductionPlan : Audit
    {
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int ProductionPlansId { get; set; } // 生产计划id
        public int? PreProductionPlanId { get; set; } // 预生产计划id
        public int? PreProductionState { get; set; } // 生成订单状态
        public string? PPDocumentNumber { get; set; } // 单据编号
        public string? PPlanName { get; set; }// 计划名称
        public decimal? PPTotalQuantity { get; set; } // 数量合计
        public bool? Whetherautomatic { get; set; }//是否自动生成订单
        public int? SaleContractId { get; set; }//销售合同id
        public string? PPlanSmark { get; set; } //备注
    }
}
